package com.bokey.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bokey.entity.Node;
import com.bokey.service.NodeService;
import com.bokey.mapper.NodeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author LenovoI
* @description 针对表【node】的数据库操作Service实现
* @createDate 2022-11-17 12:47:43
*/
@Service
public class NodeServiceImpl extends ServiceImpl<NodeMapper, Node>
    implements NodeService{


    @Resource
    private NodeMapper nodeMapper;

    public IPage<Node>  findBeFollowerNodeByFollowerId(IPage<Node> page, Integer beFollowerId){
        return nodeMapper.findBeFollowerNodeByFollowerId(page,beFollowerId);
    }
}




